package com.ecreditpal.toto.controller;

import com.ecreditpal.toto.util.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lifeng
 * @version 1.0 on 2018/4/21.
 */
@RestController
@RequestMapping("test")
public class TestController {
    @RequestMapping("result")
    public Result<String> test() {
        return Result.wrapSuccessfulResult("hello");
    }
}
